<?php if ($products) { ?>
<div id="home-product-list" class="checkout">
	<div class="heading_x span-24">
					<span class="font_bigger"><?php echo $heading_title; ?></span><hr />
	</div>
<div >
	&nbsp;
  <table class="list" >
  <?php for ($i = 0; $i < sizeof($products); $i = $i + 4) { ?>
    <tr>
      <?php for ($j = $i; $j < ($i + 4); $j++) { ?>
      <td style="width: 25%;"><?php if (isset($products[$j])) { ?>
	  
      
	  <a href="<?php echo str_replace('&', '&amp;', $products[$j]['href']); ?>"><img src="<?php echo $products[$j]['thumb']; ?>" id="image" title="<?php echo $products[$j]['name']; ?>" alt="<?php echo $products[$j]['name']; ?>" /></a><br />
	  <a href="<?php echo str_replace('&', '&amp;', $products[$j]['href']); ?>" class="product-name"><?php echo $products[$j]['model']; ?></a>
	  <br />
      <a href="<?php echo str_replace('&', '&amp;', $products[$j]['href']); ?>" class="product-name"><?php echo $products[$j]['name']; ?></a>
	  <br />
	  
	  <!--Product Stick-->
	  <div style="display:inline;"> <?php echo $products[$j]['stick']; ?></div><br />
	  <!--/Product Stick-->
	  
      <!-- Remove Product Model PacharaFixed
      <span style="color: #999; font-size: 11px;"><?php echo $products[$j]['model']; ?></span><br />
      -->
      <?php if ($display_price) { ?>
      <?php if (!$products[$j]['special']) { ?>
      <span class="product-price-normal" ><?php echo $products[$j]['price']; ?></span>
      <?php } else { ?>
      <span style="color: #900; font-weight: bold; text-decoration: line-through;"><?php echo $products[$j]['price']; ?></span> <span style="color: #F00;"><?php echo $products[$j]['special']; ?></span>
      <?php } ?>
      
      <a class="button_add_small" href="<?php echo $products[$j]['add']; ?>" title="<?php echo $button_add_to_cart; ?>" ><img src="<?php echo HTTPS_IMAGE;?>/data/avon.png" alt="" title="" /></a>
      <?php } ?>
      
      <!-- Removing Product Rating PacharaFixed
      <br />
      <?php if ($products[$j]['rating']) { ?>
      <img src="catalog/view/theme/default/image/stars_<?php echo $products[$j]['rating'] . '.png'; ?>" alt="<?php echo $products[$j]['stars']; ?>" />
      <?php } ?>
       -->
       
      <?php } ?></td>
      <?php } ?>
    </tr>
    <?php } ?>
  </table>
</div>
</div>


<?php } ?>